python string interview questions